home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Games
/
Tetris
/
Source
/
Minimatrix.h
< prev
next >
Wrap
Text File
|
1975-04-26
|
1KB
|
44 lines
#import <appkit/View.h>
@interface Minimatrix:View
{
int numRows;
int numCols;
id backGround;
float backgroundGray;
NXSize elementSize;
NXSize inset;
NXSize intercell;
NXRect insetBounds;
// Holds the id of the current block in a given (row,column)
id *iconMatrix;
}
- initFrame:(const NXRect *)frameRect;
- initFrame:(const NXRect *)frameRect
numRows:(int)rowsHigh numCols:(int)colsWide;
- initFrame:(const NXRect *)frameRect
bitmap:theBitmap numRows:(int)rowsHigh numCols:(int)colsWide;
- bitmapAt:(int)row :(int)column;
- displayAt:(int)row :(int)column;
- drawSelf:(const NXRect *)rects :(int)rectCount;
- getIntercell:(NXSize *)aSize;
- getRect:(NXRect *)theRect for:(int)row :(int)column;
- point:(NXPoint *)thePoint for:(int)row :(int)column;
- setBackgroundGray:(float)gray;
- setBitmap:theBitmap;
- setBitmap:theBitmap at:(int)row :(int)column;
- setElementSize:(const NXSize *)aSize;
- setInset:(const NXSize *)aSize;
- setIntercell:(const NXSize *)aSize;
- free;
@end